<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>数字边框</title>
		<style>
			div#大{
				width:1000px;
				height:200px;
				border:1px solid #d9d9d9;
			}
			div#小{
				width:800px;
				height:0.1px;
				border:1px solid #d8d8d8;
				margin: 0 auto;
				margin-top:50px;
			}
		.d1{
			display:inline-block;
			width: 30px;
			height: 30px;
			border:1px solid #d8d8d8;
			text-align:center;
			line-height:30px;
				border-radius:5px;
		}
		.d2{
			display:inline-block;
			width: 30px;
			height: 30px;
			border:1px solid #d8d8d8;
			text-align:center;
			line-height:30px;
			border-radius:5px;
		}
		.d3{
			display:inline-block;
			width: 30px;
			height: 30px;
			border:1px solid #d8d8d8;
			text-align:center;
			line-height:30px;
			border-radius:5px;
		}
		.d4{
			display:inline-block;
			width: 30px;
			height: 30px;
			border:1px solid #d8d8d8;
			text-align:center;
			line-height:30px;
			border-radius:5px;
		}
		.d5{
			display:inline-block;
			width: 30px;
			height: 30px;
			border:1px solid #d8d8d8;
			text-align:center;
			line-height:30px;
			border-radius:5px;
		}
		.d6{
			display:inline-block;
			width: 30px;
			height: 30px;
			border:1px solid #d8d8d8;
			text-align:center;
			line-height:30px;
			border-radius:5px;
		}
		</style>
	</head>
	
	<body>
		<div id="大">
		<div id="小"></div>
		</div>
		<div class="d1">
			<a href="">1</a>
		</div>
		<div class="d2">
			<a href="">2</a>
		</div>
		<div class="d3">
			<a href="">3</a>
		</div>
		<div class="d4">
			<a href="">4</a>
		</div>
		<div class="d5">
			<a href="">5</a>
		</div>
		<div class="d6">
			<a href="">6</a>
		</div>
	</body>
</html>